//
//  TZActiveCell.m
//  BSBDJ
//
//  Created by user on 16/5/24.
//  Copyright © 2016年 Burning. All rights reserved.
//

#import "TZActiveCell.h"
#import "TZActiveItem.h"
@interface TZActiveCell() 
@property (weak, nonatomic) IBOutlet UIImageView *icon_Image;
@property (weak, nonatomic) IBOutlet UILabel *title_Label;

@end

@implementation TZActiveCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setActiveItem:(TZActiveItem *)activeItem{
    _activeItem = activeItem;
    [self.icon_Image sd_setImageWithURL:[NSURL URLWithString:activeItem.icon]];
    self.title_Label.text = activeItem.name;
}

@end
